import request from "@/utils/request";

export function jdShoppingAdd(data) {
  return request({
    url: `/lgb/jdShopping`,
    method: "post",
    data,
  });
}

export function jdShoppingEdit(data) {
  return request({
    url: `/lgb/jdShopping`,
    method: "put",
    data,
  });
}

export function jdShoppingList(params) {
  return request({
    url: `/lgb/jdShopping/list`,
    method: "get",
    params,
  });
}
export function jdShoppingDelete(configIds) {
  return request({
    url: `/lgb/jdShopping/${configIds}`,
    method: "delete",
  });
}

export function jdShoppingDetails(configId) {
  return request({
    url: `/lgb/jdShopping/${configId}`,
    method: "get",
  });
}
